package com.cipe.cmrs.model;

import java.util.List;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * @author Incepio
 * 
 */
@Entity
@Table(name = "alerttype")
@SuppressWarnings("serial")
public class Alertstype  extends BaseAuditEntity {

	/**
	 * Attribute typename.
	 */
	@Basic
	@Column(name = "typename", length = 100)
	private String typename;
	
	/**
	 * List of Actionaltertchangenotifications
	 */
	 @OneToMany(mappedBy="alertstype")
	private List<Actionaltertchangenotifications> actionaltertchangenotificationss = null;

	

	/**
	 * @return typename
	 */
	
		public String getTypename() {
		return typename;
	}

	/**
	 * @param typename new value for typename 
	 */
	public void setTypename(String typename) {
		this.typename = typename;
	}
	
	/**
	 * Get the list of Actionaltertchangenotifications
	 */
	
	 public List<Actionaltertchangenotifications> getActionaltertchangenotificationss() {
	 	return this.actionaltertchangenotificationss;
	 }
	 
	/**
	 * Set the list of Actionaltertchangenotifications
	 */
	 public void setActionaltertchangenotificationss(List<Actionaltertchangenotifications> actionaltertchangenotificationss) {
	 	this.actionaltertchangenotificationss = actionaltertchangenotificationss;
	 }


}